//
//  CollectionFirst.m
//  TextApplication
//
//  Created by dllo on 16/9/9.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "CollectionFirst.h"
#import "CollectionViewDataModel.h"

@implementation CollectionFirst

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        CollectionViewDataModel *date = [CollectionViewDataModel modelWithDic:value];
        _data = date;
    }
}

@end
